package com.smartboot.plus.vo;

import com.alibaba.fastjson2.annotation.JSONField;
import com.smartboot.plus.ignite.cache.MqttAclCache;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

public class MqttAclCacheVO implements Serializable {

    private static final long serialVersionUID = 1L;

    private List<MqttAclCache.TopicEft> topicEft;

    private String id;

    private String username;

    private String remark; // 备注

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Timestamp updatedAt; // 修改时间

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Timestamp createdAt; // 创建时间


    // Getter 和 Setter 方法
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public List<MqttAclCache.TopicEft> getTopicEft() {
        return topicEft;
    }

    public void setTopicEft(List< MqttAclCache.TopicEft> topicEft) {
        this.topicEft = topicEft;
    }


    public Timestamp getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Timestamp createdAt) {
        this.createdAt = createdAt;
    }

    public Timestamp getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Timestamp updatedAt) {
        this.updatedAt = updatedAt;
    }


    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }


}
